<!--  -->
<template>
  <div class="company-detail">
    <z-header :title="module_object.name">
      <template v-slot:left>
        <div @click="$router.back()" class="left-wrap flex justify-center aligin-center">
          <span class="icon-left"></span>
        </div>
      </template>
    </z-header>
    <z-body>
      <img width="100%" :src="module_object.img" alt />
    </z-body>
  </div>
</template>

<script>
import HXZL from '../../assets/imgs/HXZL.jpg'
import LFHM from '../../assets/imgs/LFHM.jpg'
import LXZB from '../../assets/imgs/LXZB.jpg'
import QCQP from '../../assets/imgs/QCQP.jpg'
import SYJX from '../../assets/imgs/SYJX.jpg'
import SYD from '../../assets/imgs/SYD.jpg'
import LHFZ from '../../assets/imgs/LHFZ.jpg'
import JJGD from '../../assets/imgs/JJGD.jpg'
import LBJX from '../../assets/imgs/LBJX.jpg'
import KP from '../../assets/imgs/KP.jpg'
import BJHB from '../../assets/imgs/BJHB.jpg'
import XJFZ from '../../assets/imgs/XJFZ.jpg'
import YTJ from '../../assets/imgs/YTJ.jpg'
import ZLHB from '../../assets/imgs/ZLHB.jpg'
import ZKQY from '../../assets/imgs/ZKQY.png'
import KEB from '../../assets/imgs/KEB.jpg'
import HT from '../../assets/imgs/HT.png'
export default {
  components: {},
  data() {
    return {}
  },
  computed: {
    module_object() {
      let params = this.$route.params.key
      switch (params) {
        case 'HXZL':
          return {
            name: '和利制冷设备',
            img: HXZL
          }
        case 'LFHM':
          return {
            name: '兰福红木',
            img: LFHM
          }
        case 'LXZB':
          return {
            name: '立新珠宝',
            img: LXZB
          }
        case 'QCQP':
          return {
            name: '启铖汽配',
            img: QCQP
          }
        case 'SYJX':
          return {
            name: '山野机械',
            img: SYJX
          }
        case 'SYD':
          return {
            name: '仕雅达纺织',
            img: SYD
          }
        case 'LHFZ':
          return {
            name: '龙华纺织',
            img: LHFZ
          }
        case 'JJGD':
          return {
            name: '景德光电',
            img: JJGD
          }
        case 'LBJX':
          return {
            name: '蓝宝机械',
            img: LBJX
          }
        case 'KP':
          return {
            name: '康鹏半导体',
            img: KP
          }
        case 'BJHB':
          return {
            name: '宝洁环保',
            img: BJHB
          }
        case 'XJFZ':
          return {
            name: '祥嘉纺织',
            img: XJFZ
          }
        case 'YTJ':
          return {
            name: '怡钛积',
            img: YTJ
          }
        case 'ZLHB':
          return {
            name: '自立环保',
            img: ZLHB
          }
        case 'ZKQY':
          return {
            name: '中科玖源新材料',
            img: ZKQY
          }
        case 'KEB':
          return {
            name: '康恩贝',
            img: KEB
          }
        case 'HT':
          return {
            name: '海泰新材料',
            img: HT
          }
      }
    }
  },
  watch: {},
  methods: {},
  created() {},
  mounted() {},
  updated() {}, //生命周期 - 更新之后
  destroyed() {} //生命周期 - 销毁完成
}
</script>
<style lang='less' scoped>
.company-detail {
  height: 100%;
  .left-wrap {
    height: 100%;
    width: 100%;
    .icon-left {
      width: 18px;
      height: 18px;
      background: url('../../assets/imgs/arrow_left.png');
      background-size: 100% 100%;
    }
  }
}
</style>